<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>AWTK-JAVA: awtk.WindowManager类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">AWTK-JAVA
   </div>
   <div id="projectbrief">AWTK JAVA API</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>awtk</b></li><li class="navelem"><a class="el" href="classawtk_1_1_window_manager.html">WindowManager</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="classawtk_1_1_window_manager-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">awtk.WindowManager类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<div class="dynheader">
类 awtk.WindowManager 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classawtk_1_1_window_manager.png" usemap="#awtk.WindowManager_map" alt=""/>
  <map id="awtk.WindowManager_map" name="awtk.WindowManager_map">
</map>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a832eda01d2409dee280263632c37d0b6"><td class="memItemLeft" align="right" valign="top"><a id="a832eda01d2409dee280263632c37d0b6"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>WindowManager</b> (long nativeObj)</td></tr>
<tr class="separator:a832eda01d2409dee280263632c37d0b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6779976feed67911f1e20c44b0fda961"><td class="memItemLeft" align="right" valign="top">Widget&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_window_manager.html#a6779976feed67911f1e20c44b0fda961">getTopMainWindow</a> ()</td></tr>
<tr class="separator:a6779976feed67911f1e20c44b0fda961"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0830e55b2c36f7a8ad8c8ce3b272fcb6"><td class="memItemLeft" align="right" valign="top">Widget&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_window_manager.html#a0830e55b2c36f7a8ad8c8ce3b272fcb6">getTopWindow</a> ()</td></tr>
<tr class="separator:a0830e55b2c36f7a8ad8c8ce3b272fcb6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a02377c177f6aebc9fc1a24332f86a994"><td class="memItemLeft" align="right" valign="top">Widget&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_window_manager.html#a02377c177f6aebc9fc1a24332f86a994">getPrevWindow</a> ()</td></tr>
<tr class="separator:a02377c177f6aebc9fc1a24332f86a994"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae7d04ca1920bf277f98356a7f04b3cb7"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_window_manager.html#ae7d04ca1920bf277f98356a7f04b3cb7">getPointerX</a> ()</td></tr>
<tr class="separator:ae7d04ca1920bf277f98356a7f04b3cb7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21f9fd936927c27c334db98aa16d6592"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_window_manager.html#a21f9fd936927c27c334db98aa16d6592">getPointerY</a> ()</td></tr>
<tr class="separator:a21f9fd936927c27c334db98aa16d6592"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1cae38a928d512e83a79de50e93ba073"><td class="memItemLeft" align="right" valign="top">boolean&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_window_manager.html#a1cae38a928d512e83a79de50e93ba073">getPointerPressed</a> ()</td></tr>
<tr class="separator:a1cae38a928d512e83a79de50e93ba073"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af23f2d58258c7f30e77e1eed598b2b86"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_ret.html">Ret</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_window_manager.html#af23f2d58258c7f30e77e1eed598b2b86">setShowFps</a> (boolean show_fps)</td></tr>
<tr class="separator:af23f2d58258c7f30e77e1eed598b2b86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9f4445431c58b03b31fb6f1d0fd07a7f"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_ret.html">Ret</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_window_manager.html#a9f4445431c58b03b31fb6f1d0fd07a7f">setScreenSaverTime</a> (int screen_saver_time)</td></tr>
<tr class="separator:a9f4445431c58b03b31fb6f1d0fd07a7f"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afa08a2de40334bf1517ca56e5916b664"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_ret.html">Ret</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_window_manager.html#afa08a2de40334bf1517ca56e5916b664">setCursor</a> (String cursor)</td></tr>
<tr class="separator:afa08a2de40334bf1517ca56e5916b664"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aed6c2a9772d6c1321fdac9cbd6d1a43a"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_ret.html">Ret</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_window_manager.html#aed6c2a9772d6c1321fdac9cbd6d1a43a">back</a> ()</td></tr>
<tr class="separator:aed6c2a9772d6c1321fdac9cbd6d1a43a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3266fdb54a9ccd6e10becb1f7f8e6b5b"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_ret.html">Ret</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_window_manager.html#a3266fdb54a9ccd6e10becb1f7f8e6b5b">backToHome</a> ()</td></tr>
<tr class="separator:a3266fdb54a9ccd6e10becb1f7f8e6b5b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ae2cce7175e02b3768e89cce9f59ad3d5"><td class="memItemLeft" align="right" valign="top"><a class="el" href="enumawtk_1_1_ret.html">Ret</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_window_manager.html#ae2cce7175e02b3768e89cce9f59ad3d5">backTo</a> (String target)</td></tr>
<tr class="separator:ae2cce7175e02b3768e89cce9f59ad3d5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:af8fb9f7b15c97ea43ace8c58e892a6e7"><td class="memItemLeft" align="right" valign="top"><a id="af8fb9f7b15c97ea43ace8c58e892a6e7"></a>
static <a class="el" href="classawtk_1_1_window_manager.html">WindowManager</a>&#160;</td><td class="memItemRight" valign="bottom"><b>cast</b> (long nativeObj)</td></tr>
<tr class="separator:af8fb9f7b15c97ea43ace8c58e892a6e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abd94e8bd600b4fe533ca72abc11f8abf"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classawtk_1_1_window_manager.html">WindowManager</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_window_manager.html#abd94e8bd600b4fe533ca72abc11f8abf">instance</a> ()</td></tr>
<tr class="separator:abd94e8bd600b4fe533ca72abc11f8abf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:afb7806818febe1fff101fa17542fd88c"><td class="memItemLeft" align="right" valign="top">static <a class="el" href="classawtk_1_1_window_manager.html">WindowManager</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classawtk_1_1_window_manager.html#afb7806818febe1fff101fa17542fd88c">cast</a> (Widget widget)</td></tr>
<tr class="separator:afb7806818febe1fff101fa17542fd88c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:aa7a312746a395c305962fb0755eea6e6"><td class="memItemLeft" align="right" valign="top"><a id="aa7a312746a395c305962fb0755eea6e6"></a>
long&#160;</td><td class="memItemRight" valign="bottom"><b>nativeObj</b></td></tr>
<tr class="separator:aa7a312746a395c305962fb0755eea6e6"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>窗口管理器。 </p>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="aed6c2a9772d6c1321fdac9cbd6d1a43a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aed6c2a9772d6c1321fdac9cbd6d1a43a">&#9670;&nbsp;</a></span>back()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_ret.html">Ret</a> awtk.WindowManager.back </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>请求关闭顶层窗口。</p>
<p>如果顶层窗口时模态对话框，用DIALOG_QUIT_NONE调用dialog_quit。</p>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="ae2cce7175e02b3768e89cce9f59ad3d5"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae2cce7175e02b3768e89cce9f59ad3d5">&#9670;&nbsp;</a></span>backTo()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_ret.html">Ret</a> awtk.WindowManager.backTo </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>target</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>回到指定的窗口，关闭之上的全部窗口。</p>
<p>如果顶层窗口时模态对话框，用DIALOG_QUIT_NONE调用dialog_quit。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">target</td><td>目标窗口的名称。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a3266fdb54a9ccd6e10becb1f7f8e6b5b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a3266fdb54a9ccd6e10becb1f7f8e6b5b">&#9670;&nbsp;</a></span>backToHome()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_ret.html">Ret</a> awtk.WindowManager.backToHome </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>回到主窗口，关闭之上的全部窗口。</p>
<p>如果顶层窗口时模态对话框，用DIALOG_QUIT_NONE调用dialog_quit。</p>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="afb7806818febe1fff101fa17542fd88c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afb7806818febe1fff101fa17542fd88c">&#9670;&nbsp;</a></span>cast()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classawtk_1_1_window_manager.html">WindowManager</a> awtk.WindowManager.cast </td>
          <td>(</td>
          <td class="paramtype">Widget&#160;</td>
          <td class="paramname"><em>widget</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>转换为window_manager对象(供脚本语言使用)。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">widget</td><td>window_manager对象。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>window_manager对象。 </dd></dl>

</div>
</div>
<a id="a1cae38a928d512e83a79de50e93ba073"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a1cae38a928d512e83a79de50e93ba073">&#9670;&nbsp;</a></span>getPointerPressed()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">boolean awtk.WindowManager.getPointerPressed </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取指针当前是否按下。</p>
<dl class="section return"><dt>返回</dt><dd>返回指针当前是否按下。 </dd></dl>

</div>
</div>
<a id="ae7d04ca1920bf277f98356a7f04b3cb7"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ae7d04ca1920bf277f98356a7f04b3cb7">&#9670;&nbsp;</a></span>getPointerX()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int awtk.WindowManager.getPointerX </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取指针当前的X坐标。</p>
<dl class="section return"><dt>返回</dt><dd>返回指针当前的X坐标。 </dd></dl>

</div>
</div>
<a id="a21f9fd936927c27c334db98aa16d6592"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a21f9fd936927c27c334db98aa16d6592">&#9670;&nbsp;</a></span>getPointerY()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">int awtk.WindowManager.getPointerY </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取指针当前的Y坐标。</p>
<dl class="section return"><dt>返回</dt><dd>返回指针当前的X坐标。 </dd></dl>

</div>
</div>
<a id="a02377c177f6aebc9fc1a24332f86a994"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a02377c177f6aebc9fc1a24332f86a994">&#9670;&nbsp;</a></span>getPrevWindow()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Widget awtk.WindowManager.getPrevWindow </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取前一个的窗口。</p>
<dl class="section return"><dt>返回</dt><dd>返回窗口对象。 </dd></dl>

</div>
</div>
<a id="a6779976feed67911f1e20c44b0fda961"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6779976feed67911f1e20c44b0fda961">&#9670;&nbsp;</a></span>getTopMainWindow()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Widget awtk.WindowManager.getTopMainWindow </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取最上面的主窗口。</p>
<dl class="section return"><dt>返回</dt><dd>返回窗口对象。 </dd></dl>

</div>
</div>
<a id="a0830e55b2c36f7a8ad8c8ce3b272fcb6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0830e55b2c36f7a8ad8c8ce3b272fcb6">&#9670;&nbsp;</a></span>getTopWindow()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Widget awtk.WindowManager.getTopWindow </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取最上面的窗口。</p>
<dl class="section return"><dt>返回</dt><dd>返回窗口对象。 </dd></dl>

</div>
</div>
<a id="abd94e8bd600b4fe533ca72abc11f8abf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abd94e8bd600b4fe533ca72abc11f8abf">&#9670;&nbsp;</a></span>instance()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="classawtk_1_1_window_manager.html">WindowManager</a> awtk.WindowManager.instance </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>获取全局window_manager对象</p>
<dl class="section return"><dt>返回</dt><dd>对象。 </dd></dl>

</div>
</div>
<a id="afa08a2de40334bf1517ca56e5916b664"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afa08a2de40334bf1517ca56e5916b664">&#9670;&nbsp;</a></span>setCursor()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_ret.html">Ret</a> awtk.WindowManager.setCursor </td>
          <td>(</td>
          <td class="paramtype">String&#160;</td>
          <td class="paramname"><em>cursor</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置鼠标指针。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">cursor</td><td>图片名称(从图片管理器中加载)。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="a9f4445431c58b03b31fb6f1d0fd07a7f"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a9f4445431c58b03b31fb6f1d0fd07a7f">&#9670;&nbsp;</a></span>setScreenSaverTime()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_ret.html">Ret</a> awtk.WindowManager.setScreenSaverTime </td>
          <td>(</td>
          <td class="paramtype">int&#160;</td>
          <td class="paramname"><em>screen_saver_time</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置屏保时间。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">screen_saver_time</td><td>屏保时间(单位毫秒)。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<a id="af23f2d58258c7f30e77e1eed598b2b86"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af23f2d58258c7f30e77e1eed598b2b86">&#9670;&nbsp;</a></span>setShowFps()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="enumawtk_1_1_ret.html">Ret</a> awtk.WindowManager.setShowFps </td>
          <td>(</td>
          <td class="paramtype">boolean&#160;</td>
          <td class="paramname"><em>show_fps</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>设置是否显示FPS。</p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">show_fps</td><td>是否显示FPS。</td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>返回RET_OK表示成功，否则表示失败。 </dd></dl>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>output/WindowManager.java</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
